IHipTextureRegion.setRegion

The uint variant from the setRegion receives arguments in a non normalized way to setup the UV coordinates. It is better if you wish to just pass where it start and ends. The region is divided by the width and height

  1. void setRegion(float u1, float v1, float u2, float v2)
  2. void setRegion(int width, int height, uint u1, uint v1, uint u2, uint v2)
    interface IHipTextureRegion
    final
    void
    setRegion
    (
    int width
    ,
    int height
    ,
    uint u1
    ,
    uint v1
    ,
    uint u2
    ,
    uint v2
    )
  3. void setRegion(uint u1, uint v1, uint u2, uint v2)

Meta